已連線,Hello from WS
Message
裡面輸入 你好
後,按下 Send
)You said: 你好!
) routing {
webSocket("/echo") {
...
for (frame in incoming) {
frame as? Frame.Text ?: continue
val receivedText = frame.readText()
send("You said: $receivedText")
...